<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>test_ajax</title>
  <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
</head>
<body>
  
</body>

<script type="text/javascript">

  $.ajax({
    url: 'http://localhost:8001/user/getList',
    method: 'get',
    success: res => {
      console.log(res)
      let userId = res.data[0].id
      $.ajax({
        url: 'http://localhost:8001/goods/getList?userId=' + userId,
        method: 'get',
        success: res => {
          console.log(res)
          let goodsId = res.data[0].id
          $.ajax({
            url: 'http://localhost:8001/appraise/getList?goodsId=' + goodsId,
            method: 'get',
            success: res => {
              console.log(res);
            }
          })
        }
      })
    }
  })

</script>
</html>